A sound command record describes a sound command that you send to a sound channel using the SndDoCommand or SndDoImmediate function. The SndCommand data type defines a sound command record.
TYPE SndCommand =
PACKED RECORD
cmd: Integer; {command number}
param1: Integer; {first parameter}
param2: LongInt; {second parameter}
END;
The meaning of the param1 and param2 fields depends on the particular sound command being issued. See "Sound Command Numbers" for a description of the sound commands your application can use.
| Previous | Chapter contents | Chapter top | Section top | Next |